# Bulid Coffee Machine

libs=`ls lib/`
classpath=

for lib in $libs
do
	classpath="$classpath:lib/$lib"
done

classpath=${classpath:1}

if [ ! -e bin ]; then
	mkdir bin
fi

find -name "*.java" | grep "coffeemachine"  > sources.txt
javac -cp $classpath -d bin @sources.txt

rm -f sources.txt
